package com.caoheng.core.enums;

public enum PayType {
    ALI_PAY_MOBILE,
    ALI_PAY_PC,
    WEIXIN_PAY_JSAPI;

    public static PayType get(String channelName){
        for(PayType type : values()){
            if(type.name().equals(channelName)){
                return type;
            }
        }
        return null;
    }
}
